﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVCScaffolder
{
    [Serializable]
    public class Searchable
    {
        public String ColumnName { get; set; }
        public bool IsSearchable { get; set; }
        public EDMXParserV1.Property Property { get; set; }
        public GridChoice GridChoice { get; set; }

        public override string ToString()
        {
            return "ColumnName: " + ColumnName + Environment.NewLine
                + "IsSearchable: " + IsSearchable + Environment.NewLine
                + "<Property>" + Environment.NewLine 
                + Property.ToString()+ Environment.NewLine
                + "</property>";
        }

    }
}
